package Testes;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TesteUserAdm {

	public static void main(String[] args) {
		SimpleDateFormat data = new SimpleDateFormat("ddMMyyyy");  
		System.out.println(data.format(new Date())); 
		
		SimpleDateFormat hora = new SimpleDateFormat("HHmm");  
		System.out.println(hora.format(new Date()));
	}
}
